﻿using Elsa.Services;

namespace Zhp.Workflow.Models
{
    public class ApproveBookmark : IBookmark
    {
        public ApproveBookmark(string user, string name, string tag, string endityid)
        {
            User = user;
            Name = name;
            Tag = string.IsNullOrEmpty(tag) ? null : tag;
            EntityId = endityid;
        }

        public string User { get; set; }
        public string Tag { get; set; }
        public string Name { get; set; }
        public string EntityId { get; set; }
    }
}
